home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 19
/
Mac Magazin and MacEasy Magazine CD - Issue 19.iso
/
Utilities
/
uae-0.4
/
Source Code
/
CPU Sources
/
cpu1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-13
|
33KB
|
1,157 lines
#include "config.h"
#include "amiga.h"
#include "options.h"
#include <stdlib.h>
#include "memory.h"
#include "custom.h"
#include "newcpu.h"
#include "cputbl.h"
void op_1000(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_1010(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_1018(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}}
void op_1020(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}}
void op_1028(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_1030(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}}}
void op_1038(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_1039(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_103a(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}}
void op_103b(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}}}
void op_103c(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
regs.d[dstreg] &= ~0xff; regs.d[dstreg] |= (src) & 0xff;
}}}}
void op_1080(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1090(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1098(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10a0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10a8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_10b0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_10b8(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_10b9(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_10ba(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10bb(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_10bc(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_10c0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10d0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10d8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_10e0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_10e8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10f0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_10f8(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10f9(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_10fa(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_10fb(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_10fc(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ CPTR dsta = regs.a[dstreg];
{ regs.a[dstreg] += (dstreg == 7) ? 2 : 1;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1100(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1110(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1118(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_1120(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_1128(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1130(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_1138(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1139(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_113a(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_113b(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_113c(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ regs.a[dstreg] -= (dstreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1140(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1150(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1158(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1160(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1168(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1170(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_1178(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1179(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_117a(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_117b(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_117c(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ CPTR dsta = regs.a[dstreg] + (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_1180(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1190(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_1198(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_11a0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_11a8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11b0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_11b8(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11b9(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11ba(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_11bb(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}}
void op_11bc(UWORD opcode)
{
ULONG dstreg = (opcode & 3584) >> 9;
{{ BYTE src = nextiword();
{ CPTR dsta = regs.a[dstreg];
UWORD dstdp = nextiword();
dsta += (LONG)(BYTE)(dstdp & 0xFF);
{ ULONG dstdpr = dstdp & 0x8000 ? regs.a[(dstdp & 0x7000) >> 12] : regs.d[(dstdp & 0x7000) >> 12];
if (!(dstdp & 0x800)) dstdpr = (LONG)(WORD)dstdpr;
dsta += dstdpr;
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11c0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_11d0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_11d8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11e0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11e8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_11f0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_11f8(UWORD opcode)
{
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_11f9(UWORD opcode)
{
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_11fa(UWORD opcode)
{
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_11fb(UWORD opcode)
{
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_11fc(UWORD opcode)
{
{{ BYTE src = nextiword();
{ CPTR dsta = (LONG)(WORD)nextiword();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13c0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ BYTE src = regs.d[srcreg];
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13d0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13d8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ regs.a[srcreg] += (srcreg == 7) ? 2 : 1;
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_13e0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ regs.a[srcreg] -= (srcreg == 7) ? 2 : 1;
{ CPTR srca = regs.a[srcreg];
BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_13e8(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg] + (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13f0(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 7) >> 0);
{{ CPTR srca = regs.a[srcreg];
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_13f8(UWORD opcode)
{
{{ CPTR srca = (LONG)(WORD)nextiword();
BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13f9(UWORD opcode)
{
{{ CPTR srca = nextilong();
BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}
void op_13fa(UWORD opcode)
{
{{ CPTR srca = m68k_getpc();
srca += (LONG)(WORD)nextiword();
{ BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}
void op_13fb(UWORD opcode)
{
{{ CPTR srca = m68k_getpc();
UWORD srcdp = nextiword();
srca += (LONG)(BYTE)(srcdp & 0xFF);
{ ULONG srcdpr = srcdp & 0x8000 ? regs.a[(srcdp & 0x7000) >> 12] : regs.d[(srcdp & 0x7000) >> 12];
if (!(srcdp & 0x800)) srcdpr = (LONG)(WORD)srcdpr;
srca += srcdpr;
{ BYTE src = get_byte(srca);
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}}}
void op_13fc(UWORD opcode)
{
{{ BYTE src = nextiword();
{ CPTR dsta = nextilong();
regs.v = regs.c = 0;
regs.z = ((BYTE)(src)) == 0;
regs.n = ((BYTE)(src)) < 0;
put_byte(dsta,src);
}}}}